package com.zmkm.common;

import java.util.ArrayList;

public class Const {
	public static final String CURRENT_USER = "currentUser";
	public static final String EMAIL = "email";
	public static final String HOUSEKEEPER = "housekeeper";
	public static final String RESPONSE = "serverResponse";

	public static final int GNI = 99;// 总管理员
	public static final int MAX = 82;// 副管理员（只读）
	public static final int MIN = 81;// 副班长（只读部分）
	
	public static final ArrayList<Integer> WARE = new ArrayList<Integer>(){{add(11); add(12);add(13); add(14);add(19); add(20);}};// 库房管理员
	
	public static final ArrayList<Integer> SERVER = new ArrayList<Integer>(){{add(21); add(22);add(23); add(24);add(29); add(30);}};// 产品服务人员管理员

	public static final ArrayList<Integer> ADMAX = new ArrayList<Integer>(){{add(MIN); add(MAX); add(GNI);}};
	
	public static abstract interface Role {
		public static final int ROLE_CUSTOMER = 0;
		public static final int ROLE_ADMIN = 1;
	}
}
